#Boa:Dialog:Dialog1

import wx

def create(parent):
    return Dialog1(parent)

[wxID_DIALOG1, wxID_DIALOG1BUTTON1, wxID_DIALOG1CODPRODUCTO, 
] = [wx.NewId() for _init_ctrls in range(3)]

class Dialog1(wx.Dialog):
    def _init_ctrls(self, prnt):
        # generated method, don't edit
        wx.Dialog.__init__(self, id=wxID_DIALOG1, name='', parent=prnt,
              pos=wx.Point(218, 263), size=wx.Size(388, 174),
              style=wx.DEFAULT_DIALOG_STYLE, title='Error Cod. de Barras')
        self.SetClientSize(wx.Size(372, 138))
        self.SetFont(wx.Font(26, wx.SWISS, wx.NORMAL, wx.NORMAL, False,
              'Tahoma'))

        self.codproducto = wx.StaticText(id=wxID_DIALOG1CODPRODUCTO,
              label='No se Encontro el Codigo del Producto', name='codproducto',
              parent=self, pos=wx.Point(8, 24), size=wx.Size(361, 25), style=0)
        self.codproducto.SetFont(wx.Font(16, wx.SWISS, wx.NORMAL, wx.NORMAL,
              False, 'Tahoma'))

        self.button1 = wx.Button(id=wxID_DIALOG1BUTTON1, label='Cerrar',
              name='button1', parent=self, pos=wx.Point(144, 88),
              size=wx.Size(75, 23), style=0)
        self.button1.SetFont(wx.Font(11, wx.SWISS, wx.NORMAL, wx.NORMAL, False,
              'Tahoma'))
        self.button1.Bind(wx.EVT_BUTTON, self.OnButton1Button,
              id=wxID_DIALOG1BUTTON1)

    def __init__(self, parent):
        self._init_ctrls(parent)

    def OnButton1Button(self, event):
        self.Close()
